<template>
    <div class="sun">
        <h2>孙组件</h2>
        {{ cc }}--{{ dd }}
    </div>
</template>

<script lang='ts' setup>
import { ref } from 'vue'
defineProps(["cc", "dd"])
</script>
<style scoped>
.sun {
    width: 300px;
    height: 100px;
    background: rgb(207, 180, 133);
}
</style>